<?php
/**
 * Created by PhpStorm.
 * User: mj
 * Date: 17-6-22
 * Time: 上午11:08
 */

namespace App\Winged\Auth;


use App\Winged\WingedModuleServiceProvider;

class AuthServiceProvider extends WingedModuleServiceProvider
{
    protected $serviceName = 'user';

    public function __construct($app)
    {
        parent::__construct($app ,'Auth');
    }

    protected function onRegister()
    {
        // TODO: Implement onRegister() method.
    }

    protected function onBoot()
    {
        $this->registerModuleRoutes();
    }

    private function registerModuleRoutes()
    {
        require_once __DIR__ . '/config/routes.php';
    }


}
